package ochart.chartClasses
{
	import ochart.core.ChartBase;
	import ochart.renders.IRenderer;
	import ochart.serialization.ISerialzer;

	public interface IChartObject extends IData
	{
		function get className():String;
		
		function get alias():String;
		
		function get chart():ChartBase;
		
		function set chart(value:ChartBase):void;
		
		function get dataFormat():String;
		
		function set dataFormat(value:String):void;
		
		function get serializer():ISerialzer;
		
		function set serializer(value:ISerialzer):void;
		
		function get serializerFormat():String;
		
		function get renderer():IRenderer;
		
		function set renderer(value:IRenderer):void;
		
		function get rendererType():String;
		
		function clear():void;
		
		function fromData(data:Object):Boolean;
		
		function toData():Object;
		
		function destory():void;
		
		function update(callAfterUpdate:Boolean = true):Boolean;
	}
}